package com.hw.common.utils;

/**
 * @author lipeng
 * @description 手机号工具
 * @date 2023/3/9 14:25
 */
public class PhoneUtil {
    /**
     * @descrition 手机号处理
     * @author lipeng
     * @date 2023/3/9
     * @param phone
     * @return java.lang.String
     */
    public static String replacePhone(String phone){
        if(phone.contains("+81") && phone.length() == 13){
            return phone.replace("+81","+810");
        }
        return phone;
    }
}
